<?
/**
 * <b>DistanceType Class</b>
 * Published 04/11/2010 18:57:14
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');

class DistanceType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var int $DistanceMeasurement
	public $DistanceMeasurement;
	// @var string $DistanceUnit
	public $DistanceUnit;
 /** End Properties **/

/**
 *
 * @return int
 */
	function getDistanceMeasurement(){
		return $this->DistanceMeasurement;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDistanceMeasurement($value){
		$this->DistanceMeasurement = $value;
	}


/**
 *
 * @return string
 */
	function getDistanceUnit(){
		return $this->DistanceUnit;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDistanceUnit($value){
		$this->DistanceUnit = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("DistanceType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"DistanceMeasurement"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DistanceUnit"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
